package attacks;

/**
 * The method of attacking (abstact).
 */
public abstract class AttackMethod {
   /**
    * Base damage of the attack.
    */
   private int damage;
   /**
    * How many guard points does the attack avoid.
    */
   private int cutThrough = 0;
   
   public AttackMethod(int damage) {
      this.damage = damage;
   }
   
   public int getDamage() {
      return damage;
   }

   public int getCutThrough() {
      return cutThrough;
   }

   public void setCutThrough(int cutThrough) {
      this.cutThrough = cutThrough;
   }
   
   @Override
   public String toString() {
      return this.getClass().getSimpleName();
   }
}
